package com.hmall.trade.task;

import com.hmall.api.client.PayClient;
import com.hmall.api.client.UserClient;
import com.hmall.trade.service.IOrderService;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

@Component
@Slf4j
@RequiredArgsConstructor

public class orderTask {

    private final IOrderService orderService;

    /**
     * 查询支付状态，修改订单状态
     */
    @Scheduled(cron = "0 * * * * ? ")
    public void queryPayment(){

    }

}
